window.reqPath = function (url) {
    var path = document.location.host;
    return "http://"+path+"/editor/"+url;
}